﻿using DAO.AuthorizationDAO;
using DTO.Authorization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAO.DAOService
{
    public class AuthorizationDAOService
    {
        private static UserDAO userDAO = new UserDAO();
        private static UserTypeDAO userTypeDAO = new UserTypeDAO();

        public static bool InsertUser(UserDTO userDTO)
        {
            return userDAO.Insert(userDTO);
        }

        public static bool InsertUserTypeDAO(UserTypeDTO userTypeDTO)
        {
            return userTypeDAO.Insert(userTypeDTO);
        }
    }
}
